package com.example.view.activity;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.example.common.base.AbsActivity;
import com.example.view.R;
import com.example.view.databinding.ActLimitlessViewpagerBinding;

@Route(path = "/view/limitVp")
public class LimitlessViewPagerActivity extends AbsActivity<ActLimitlessViewpagerBinding> {

    @Override
    protected int getLayoutId() {
        return R.layout.act_limitless_viewpager;
    }

    @Override
    protected void main() {
        mBinding.vp.setImgIds(R.mipmap.girl4, R.mipmap.girl3, R.mipmap.girl2, R.mipmap.girl1);
    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void onStart() {
        super.onStart();
        mBinding.vp.start();
    }

    @Override
    protected void onStop() {
        super.onStop();
        mBinding.vp.stop();
    }

}
